#include <bits/stdc++.h>

#include "testlib.h"

using namespace std;

int main(int argc, char *argv[])
{
    registerTestlibCmd(argc, argv);

    // 读取标准答案
    double jury = ans.readDouble();

    // 读取选手输出
    double participant = ouf.readDouble();

    // 比较答案，允许绝对或相对误差1e-6
    if (!doubleCompare(jury, participant, 1E-6))
    {
        quitf(_wa, "expected %.10f, found %.10f", jury, participant);
    }

    quitf(_ok, "answer is %.10f", jury);
}
